123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHR01000.xrw
- * 설 명 : 검사결과관리[일반건진]
- * 설 계 자 : 김호익
- * 작 성 자 : 김호익
- * 작 성 일 : 2007.07.13
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <acptinfo>
- <item>
- <pid/>
- <hngnm/>
- <rgstno1/>
- <rgstno2/>
- <sex/>
- <age/>
- <cmpycd/>
- <cmpynm/>
- <pkgcd/>
- <pkgnm/>
- <schlgrde/>
- <clsid/>
- <stuid/>
- <plceflag/>
- <orddd/>
- <judgdd/>
- <judgdrid/>
- <drnm/>
- <reexamfg/>
- </item>
- <rsltlst>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst>
- <rsltlst2>
- <item>
- <prcpdd/>
- <execprcpuniqno/>
- <prcpno/>
- <testcd/>
- <testnm/>
- <testrsltcnts>
- </testrsltcnts>
- <outtestrsltcnts/>
- <rsltunit/>
- <rsltflag/>
- <remcnts/>
- <assorsltcnts/>
- <judgcd/>
- <judgrsltcnts/>
- <inptflag/>
- <choirslt>
- <item/>
- </choirslt>
- <judgmark/>
- <refh/>
- <refl/>
- </item>
- </rsltlst2>
- <judginfo>
- <cervcncrjudg>
- <judgdd/>
- <judgdrid/>
- <cervcncrspcstat/>
- <cervpreepithelialcellyn/>
- <cervcncrkinddiag/>
- <cervcncrkinddiagrem/>
- <flatepithelialcelltrob/>
- <flatepithelialcelltrobstat/>
- <preepithelialcelltrob/>
- <preepithelialcelltrobrem/>
- <cervcncraddcmt/>
- <cervcncraddcmtrem/>
- <judgflag/>
- <oldcervcncrpatyn/>
- <judgexamcnts/>
- </cervcncrjudg>
- <specjudg/>
- <genrjudg/>
- </judginfo>
- <inqrlst>
- <item>
- <inqrcd/>
- <inqrnm/>
- <answcd/>
- <answcnts/>
- <remcnts/>
- <answflag/>
- <inptflag/>
- <inqrflag/>
- </item>
- </inqrlst>
- </acptinfo>
- <tempinfo>
- <rslttext>
- <rsltcnts/>
- <rslt_idx/>
- <rslt_col/>
- </rslttext>
- <anslst>
- <anslst>
- <item>
- <answcd/>
- <answcnts/>
- <answcnts/>
- <reminptyn/>
- </item>
- </anslst>
- </anslst>
- <choilst>
- <item3>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </item3>
- <item4>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </item4>
- </choilst>
- <answcd/>
- <assorsltlst>
- <itemasso>
- <sel/>
- <rsltcd/>
- <rsltnm/>
- </itemasso>
- </assorsltlst>
- </tempinfo>
- </main>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <submission id="TXAHR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHB02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
- <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- <submission id="TXAHR02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHR03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHR03001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var m_vHealexamflag = "G";
- function fViewNum(){
- window.parent.javascript.vidx = "1";
- }
-
- /**
- * 소견 및 조치내용 가져오기
- * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
- * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
- * SPAHR00300_PARAM1: 다중선택여부(Y/N)
- * SPAHR00300_PARAM2: 목적노드Set
- * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
- * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
- * SPAHR00300_PARAM5: 종합판정문구검색코드
- * SPAHR00300_PARAM6: 종합판정문구검색내용
- * SPAHR00300_PARAM7: 건진구분
- */
- function fGetJudgExmpCnts(vEditObj,jCode){
- if( vEditObj == null ) return ;
- model.makeNode("/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM1", "Y");
- setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
- setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
- setParameter("SPAHR00300_PARAM8", jCode );
- modal("SPAHR00300", 100, 100, "SPAHR00300");
-
- if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
-
- var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
- if( vNodeList == null ) reutrn ;
- var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
- for( var i = 0 ; i < vNodeList.length ; i++){
- vJudgCnts += "- "+vNodeList.item(i).judghangcnts.text;
- }
- model.setValue( vEditObj.attribute("ref") , vJudgCnts );
- vEditObj.refresh();
- }
-
- function fCheckExamInfo(){
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
- model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
-
- if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
- messageBox("유효하지 않은 데이터 입니다!", "E999");
- return false;
- }
- model.setValue("/root/send/srchrsrvdd" , rsrvdd );
- model.setValue("/root/send/srchrsrvno" , rsrvno );
- model.setValue("/root/send/srchpid" , pid );
- model.setValue("/root/send/srchorddd" , orddd );
- model.setValue("/root/send/srchcretno" , cretno );
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() );
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
- //model.setValue("/root/send/srchpkgcd" , pkgcd);
- }
-
- /**
- *건진내역별 상세내역가져오기( 판정내역조회)
- *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
- */
- function fGetJudgInfo( ){
- if( fCheckExamInfo() == false ) return ;
- openLoadingBar("판정정보 ") ;//처리중 화면을 오픈한다.
- model.makeValue("root/send/srchhealexamflag","G");
- submit("TRAHR03001") ;
-
- // 특정값에 따라 Disabled 여부 결정
- fDisabledChk();
-
- closeLoadingBar() ;//처리중 화면을 close한다.
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 check
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *저장구분 : I=> 문진만, R=>결과만, J1 => 1차판정만 ...
- =====================================================================================*/
- function fCheckSaveInfo(){
-
- var idx = opener.grd_acptlst.row;
- if( idx < 1 ) {
- return false;
- }
-
- if( m_vHealexamflag == "" ) {
- messageBox("업무구분이 존재하지 않습니다.", "E999");
- return false;
- }
- var vAcptNode = opener.grd_acptlst.nodeset + "[" + idx;
-
- model.removenode("/root/send/save");
- model.refresh();
-
- var idx = window.parent.grd_acptlst.row;
- if( idx < 1) {
- //messageBox("수진자를 ", "C002");
- return false;
- }
-
- //결과내역가져오기
- var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
- var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
- var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
- var pid = window.parent.model.getValue(sNode + "pid");
- var orddd = window.parent.model.getValue(sNode + "orddd");
- var cretno = window.parent.model.getValue(sNode + "cretno");
- var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/healexamflag" , m_vHealexamflag );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/healexamdetlflag" , fGetHealExamFlag() );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/rsrvdd" , rsrvdd );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/rsrvno" , rsrvno );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/pid" , pid );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/orddd" , orddd );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/cretno" , cretno );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/pkgcd" , pkgcd );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/sex" , model.getValue("/root/main/acptinfo/item/sex") );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/age" , model.getValue("root/main/acptinfo/item/age") );
- model.makeValue("/root/main/acptinfo/judginfo/cervcncrjudg/judgcd" , "C");
- return true ;
- }
- /*===================================================================================
- ** 판정입력구분
- *1 - 1차 + 구강
- *2 - 2차
- *S - 특수건진
- *B - 혈액정밀
- *C - 암건진
- ===================================================================================*/
- function fGetJudgInptFlag() {
- var judg_idx = swt_judg.selectedIndex ;
- var ret = "1" ;
- switch ( judg_idx ) {
- case 0:
- ret = "1" ;
- break;
- case 1:
- ret = "2" ;
- break;
- case 2:
- ret = "1" ;
- break;
- case 3:
- ret = "S" ;
- break;
- case 4:
- ret = "B" ;
- break;
- case 5:
- ret = "C" ;
- break;
- default:
- ret = "1" ;
- break;
- }
- return ret;
- }
-
- /**===================================================================================
- @desc : 판정입력
- *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
- *판정내역 :
- @param :bCheckSave => true이면 저장기본정보 check.
- 전체저장시는 저장기본정보를 check할 필요가 없으므로...pass하도록...하기위해.
- =====================================================================================*/
- function fSaveJudg( bCheckSave ){
- var ret = false;
- var signedData = "";
- if( bCheckSave == true ){
- if( !fCheckSaveInfo() ) return ret ;
- }
- //model.setValue("/root/send/save/judginptflag", "L" );
-
- if( model.getValue( cmb_cervcncrjudgdrid.attribute("ref") ) == "" ) {
- messageBox("판정의를 ", "C001");
- return ret;
- }
- model.makeNode("/root/send/save/savejudg");
- model.resetInstanceNode("/root/send/save/savejudg");
- model.copyNode("/root/send/save/savejudg", "/root/main/acptinfo/judginfo/cervcncrjudg");
-
- var cervcncr_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/cervcncrjudg"));
-
- // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
- /************************************************************************************************************
- 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
- *************************************************************************************************************/
- //signedData = zesfSignData( cervcncr_judg , getUserId(), true );
-
- //if(signedData == null || signedData == "") return;
-
- openLoadingBar("판정 저장 중입니다..") ;//처리중 화면을 오픈한다.
-
- ret = submit("TXAHR03001");
-
- closeLoadingBar() ;//처리중 화면을 close한다.
-
- //정상적 저장 시 판정내역 재 조회
- if(ret == true){
- fGetJudgInfo();
- }
- return ret;
- }
-
- /**===================================================================================
- @desc : 공통 저장정보관련 초기화
- =====================================================================================*/
- function fInitSaveData(){
- model.resetInstanceNode("/root/send/save");
- }
-
-
- function fInitDasplay() {
-
- //1차건진 판정코드
- model.copyNode("/root",opener.root);//parent
- nodenumber = 0;
-
- fCtrlSize();
-
- fSetGridInitState(grd_rsltlst);
-
- btn_fstjudg.selected = true;
- model.toggle("case_first");
-
- grd_rsltlst.clearStatus();
- model.refresh();
-
- // 특정값에 따라 Disabled 여부 결정
- fDisabledChk();
- }
-
- function fInitDasplayResult(){
- model.copyNode("/root", opener.root);//parent
- model.refresh();
- }
-
- function fdataValue(vTestcd,vSubcd){
-
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
-
- for (var i=0; i<=nodeCount;i++){
- // if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
- }
- }
- }
-
- /**
- ** 결과입력 grid size 늘이기/줄이기
- */
- function fSetRsltSwtSize( bLarge ){
- //기존상태 높이
- if(getUserInfo("dutplceinstcd") == "011"){
- var cur_height = 214;
- var max_height = 538 ;
- }else{
- var cur_height = 214;
- var max_height = 558 ;
- }
-
- if( bLarge == true ){
- cur_height = max_height ;
- btn_large.visible = false;
- btn_small.visible = true;
- }
- else {
- btn_large.visible = true;
- btn_small.visible = false;
- }
-
- grd_rsltlst.attribute("height") = parseInt( cur_height ) ;
- }
-
- function fdataValueAsso(vTestcd,vSubcd){
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
-
- for (var i=0; i<nodeCount;i++){
- if ((model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/rsltcd")==vSubcd)){
- nodenumber = i;
- return model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
- }
- }
- }
-
- // 특정값에 따라 Disabled 여부 결정
- function fDisabledChk() {
- cmb_cervcncrkinddiag.dispatch("xforms-value-changed");
- cmb_flatepithelialcelltrob.dispatch("xforms-value-changed");
- cmb_preepithelialcelltrob.dispatch("xforms-value-changed");
- cmb_cervcncraddcmt.dispatch("xforms-value-changed");
- }
-
- /*사업장코드가 011(여의도성모)일 경우 크기 조정필요*/
- function fCtrlSize(){
- if(getUserInfo("dutplceinstcd") == "011"){
- swt_judg.attribute("height") = 270 + "px";
- }else{
- swt_judg.attribute("height") = 323 + "px";
- }
- }
-
- function fSetGridInitState(vGrdObj){
- if(vGrdObj == null ) return ;
-
- vGrdObj.rebuildStyle();
- vGrdObj.refresh();
- var cnt = vGrdObj.rows;
-
- for( var i = 1 ; i <= cnt ; i++){
- var testrslt = vGrdObj.valueMatrix(i, vGrdObj.colRef("testrsltcnts"));
- var low = vGrdObj.valueMatrix(i, vGrdObj.colRef("minval"));
- var high = vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval"));
- // 기준치에 따른 색깔변경
- if("H" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ff7a85";
- }
- if("L" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
- vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ccffcc";
- }
-
- //결과값이 하한가와 상한가 범위를 벗어난 경우 색으로 구분(녹색:하한가보다 작은 경우, 분홍색:상한가보다 큰 경우)
- if(testrslt != ""){
- if(!isNaN(testrslt)){
- if(low != ""){
- if(eval(testrslt) < eval(low)){
- vGrdObj.cellStyle("background-color", i, 7) = "#ccffcc";
- }
- }
- if(high != ""){
- if(eval(testrslt) > eval(high)){
- vGrdObj.cellStyle("background-color", i, 7) = "#ff7a85";
- }
- }
- }
- }else{
- continue;
- }
- }
- vGrdObj.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body>
- <group id="grp_rslt2" visibility="hidden" style="left:440px; top:55px; width:295px; height:245px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <datagrid id="datagrid1" nodeset="/root/main/tempinfo/choilst/item4" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 35, 200" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox" visibility="hidden"/>
- <col ref="rsltcd" visibility="visible"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="button1" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //fAddRsltChoi();
- grp_rslt2.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_choi" visibility="hidden" style="left:35px; top:40px; width:295px; height:245px; ">
- <caption id="caption55" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
- <datagrid id="grd_choilst" nodeset="/root/main/tempinfo/choilst/item3" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 14, 207" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="rsltcd" visibility="hidden"/>
- <col ref="rsltnm"/>
- </datagrid>
- <line id="line35" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
- <button id="btn_choiclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRsltChoi();
- grp_choi.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_textrslt" visibility="hidden" style="left:365px; top:25px; width:295px; height:300px; ">
- <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
- <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
- <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt ) {
- model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- // grp_textrslt.visible = false;
- ]]>
- </script>
- <output id="opt_rsltidx" ref="/root/main/tempinfo/rslttext/rslt_idx" class="output_fix" visibility="hidden" style="left:130px; top:5px; width:36px; height:19px; "/>
- <output id="opt_rsltcol" ref="/root/main/tempinfo/rslttext/rslt_col" class="output_fix" visibility="hidden" style="left:175px; top:5px; width:36px; height:19px; "/>
- <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javascript.col_rslt ) {
- var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
- if( idx < 0) return ;
- model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
- if( grd_rsltlst.rowStatus(idx) == 0 ) {
- grd_rsltlst.rowStatus(idx) = 2;
- }
- }
- grp_textrslt.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <switch id="swt_judg" style="left:5px; top:240px; width:764px; height:270px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_first" selected="true">
- <caption id="caption11" class="cell_2" style="left:5px; top:208px; width:130px; height:49px; text-align:center; vertical-align:middle; ">권고사항</caption>
- <input id="ipt_cervcncrjudgdd" ref="/root/main/acptinfo/judginfo/cervcncrjudg/judgdd" class="input_essential" disabled="true" inputtype="date" style="left:138px; top:8px; width:107px; height:19px; "/>
- <line id="line31" class="line_1" style="x1:5px; y1:1px; x2:755px; y2:1px; "/>
- <line id="line25" class="line_2" style="x1:5px; y1:29px; x2:755px; y2:29px; "/>
- <select1 id="cmb_cervcncrjudgdrid" ref="/root/main/acptinfo/judginfo/cervcncrjudg/judgdrid" class="combo" appearance="minimal" style="left:515px; top:8px; width:84px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption36" class="cell_2" style="left:382px; top:6px; width:130px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
- <caption id="caption37" class="cell_2" style="left:5px; top:6px; width:130px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
- <line id="line12" class="line_3" style="x1:5px; y1:258px; x2:755px; y2:258px; "/>
- <caption id="caption4" class="cell_2" style="left:5px; top:32px; width:130px; height:23px; text-align:center; vertical-align:middle; ">검체상태</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:55px; x2:755px; y2:55px; "/>
- <caption id="caption2" class="cell_2" style="left:5px; top:58px; width:130px; height:23px; text-align:center; vertical-align:middle; ">유형별진단</caption>
- <line id="line3" class="line_2" style="x1:5px; y1:81px; x2:755px; y2:81px; "/>
- <caption id="caption6" class="cell_2" style="left:5px; top:84px; width:130px; height:23px; text-align:center; vertical-align:middle; ">편평상피세포이상</caption>
- <line id="line4" class="line_2" style="x1:5px; y1:133px; x2:755px; y2:133px; "/>
- <caption id="caption9" class="cell_2" style="left:5px; top:110px; width:130px; height:23px; text-align:center; vertical-align:middle; ">추가소견</caption>
- <caption id="caption14" class="cell_2" style="left:5px; top:136px; width:130px; height:64px; text-align:center; vertical-align:middle; ">판정구분</caption>
- <line id="line6" class="line_2" style="x1:5px; y1:200px; x2:755px; y2:200px; "/>
- <caption id="caption16" class="cell_2" style="left:382px; top:84px; width:130px; height:23px; text-align:center; vertical-align:middle; ">선상피세포이상</caption>
- <select1 id="rdo_cervcncrspcstat" ref="/root/main/acptinfo/judginfo/cervcncrjudg/cervcncrspcstat" appearance="full" cols="3" overflow="visible" style="left:138px; top:34px; width:237px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/cervcncrspcstatlst/G062">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_cervcncrkinddiag" ref="/root/main/acptinfo/judginfo/cervcncrjudg/cervcncrkinddiag" class="combo" appearance="minimal" style="left:138px; top:60px; width:237px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/cervcncrkinddiaglst/G063">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cervcncrkinddiag = model.getValue("/root/main/acptinfo/judginfo/cervcncrjudg/cervcncrkinddiag");
- var bol = isSearchString(cervcncrkinddiag ,"3");
- if (bol == true) {
- ipt_cervcncrkinddiagrem.disabled = false;
- } else {
- ipt_cervcncrkinddiagrem.disabled = true;
- ipt_cervcncrkinddiagrem.value = "";
- ipt_cervcncrkinddiagrem.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_flatepithelialcelltrob" ref="/root/main/acptinfo/judginfo/cervcncrjudg/flatepithelialcelltrob" class="combo" appearance="minimal" style="left:138px; top:86px; width:172px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/flatepithelialcelltroblst/G064">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var flatepithelialcelltrob = model.getValue("/root/main/acptinfo/judginfo/cervcncrjudg/flatepithelialcelltrob");
- var bol = isSearchString(flatepithelialcelltrob ,"1");
- if (bol == true) {
- cmb_flatepithelialcelltrobstat.disabled = false;
- } else {
- cmb_flatepithelialcelltrobstat.disabled = true;
- cmb_flatepithelialcelltrobstat.value = "";
- cmb_flatepithelialcelltrobstat.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_preepithelialcelltrob" ref="/root/main/acptinfo/judginfo/cervcncrjudg/preepithelialcelltrob" class="combo" appearance="minimal" style="left:515px; top:86px; width:137px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/preepithelialcelltroblst/G066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var preepithelialcelltrob = model.getValue("/root/main/acptinfo/judginfo/cervcncrjudg/preepithelialcelltrob");
- var bol = isSearchString(preepithelialcelltrob ,"4");
- if (bol == true) {
- ipt_preepithelialcelltrobrem.disabled = false;
- } else {
- ipt_preepithelialcelltrobrem.disabled = true;
- ipt_preepithelialcelltrobrem.value = "";
- ipt_preepithelialcelltrobrem.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_preepithelialcelltrobrem" ref="/root/main/acptinfo/judginfo/cervcncrjudg/preepithelialcelltrobrem" disabled="true" style="left:655px; top:86px; width:100px; height:19px; "/>
- <select1 id="cmb_cervcncraddcmt" ref="/root/main/acptinfo/judginfo/cervcncrjudg/cervcncraddcmt" class="combo" appearance="minimal" style="left:138px; top:112px; width:237px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/cervcncraddcmtlst/G067">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var cervcncraddcmt = model.getValue("/root/main/acptinfo/judginfo/cervcncrjudg/cervcncraddcmt");
- var bol = isSearchString(cervcncraddcmt ,"6");
- if (bol == true) {
- ipt_cervcncraddcmtrem.disabled = false;
- } else {
- ipt_cervcncraddcmtrem.disabled = true;
- ipt_cervcncraddcmtrem.value = "";
- ipt_cervcncraddcmtrem.refresh();
- }
- ]]>
- </script>
- </select1>
- <bool id="bol_oldcervcncrpatyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/cervcncrjudg/oldcervcncrpatyn" style="left:142px; top:180px; width:15px; height:15px; border-style:none; "/>
- <select1 id="rdo_cervcncrjudgflag" ref="/root/main/acptinfo/judginfo/cervcncrjudg/judgflag" appearance="full" cols="4" vcellspacing="5" overflow="visible" style="left:137px; top:140px; width:618px; height:35px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/cervcncrjudgflaglst/G071">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption39" style="left:160px; top:179px; width:142px; height:20px; ">기존 자궁경부암 환자여부</caption>
- <textarea id="txt_cervcncjudgexamcnts" ref="/root/main/acptinfo/judginfo/cervcncrjudg/judgexamcnts" style="left:138px; top:208px; width:617px; height:49px; "/>
- <caption id="caption7" class="cell_2" style="left:382px; top:32px; width:130px; height:23px; text-align:center; vertical-align:middle; ">자궁경부 선상피세포</caption>
- <select1 id="rdo_cervpreepithelialcellyn" ref="/root/main/acptinfo/judginfo/cervcncrjudg/cervpreepithelialcellyn" appearance="full" cols="3" overflow="visible" style="left:515px; top:34px; width:237px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/cervpreepithelialcellynlst/G070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption3" style="left:380px; top:60px; width:151px; height:20px; ">(기타, 자궁내세포 출혈 등 :</caption>
- <input id="ipt_cervcncrkinddiagrem" ref="/root/main/acptinfo/judginfo/cervcncrjudg/cervcncrkinddiagrem" disabled="true" style="left:535px; top:60px; width:200px; height:19px; "/>
- <caption id="caption19" style="left:737px; top:60px; width:16px; height:20px; ">)</caption>
- <line id="line7" class="line_2" style="x1:5px; y1:107px; x2:755px; y2:107px; "/>
- <select1 id="cmb_flatepithelialcelltrobstat" ref="/root/main/acptinfo/judginfo/cervcncrjudg/flatepithelialcelltrobstat" class="combo" disabled="true" appearance="minimal" style="left:313px; top:86px; width:62px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/judginfo/flatepithelialcelltrobstatlst/G065">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ipt_cervcncraddcmtrem" ref="/root/main/acptinfo/judginfo/cervcncrjudg/cervcncraddcmtrem" disabled="true" style="left:435px; top:112px; width:320px; height:19px; "/>
- <caption id="caption5" style="left:380px; top:112px; width:55px; height:20px; ">직접기입</caption>
- <button id="btn_cervjudge" class="btn2_letter4" style="left:40px; top:225px; width:100px; height:20px; ">
- <caption>권고사항</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpCnts(txt_cervcncjudgexamcnts,"G016");
- ]]>
- </script>
- </button>
- </case>
- </switch>
- <button id="btn_judg" class="btn5_letter4" style="left:705px; top:220px; width:64px; height:19px; ">
- <caption>판정저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("판정내역을 ", "Q002") == 6 ) {
- fInitSaveData();
- fSaveJudg(true);
- //fSaveRsltInfo("J");
- }
- ]]>
- </script>
- </button>
- <button id="btn_fstjudg" class="btn_sw" group="tab" selected="true" style="left:5px; top:219px; width:220px; height:22px; ">
- <caption>자궁경부 세포검사, 판정 및 권고</caption>
- <toggle case="case_first" ev:event="onclick"/>
- </button>
- <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" caption="처방일자^실시처방
유일번호^처방번호^검사코드^명칭^연계결과^결과^공단연계^단위^종류^비고^판정코드^판정값^LIS판정^Low^High" colsep="^" colwidth="70, 69, 63, 74, 105, 71, 136, 76, 58, 43, 67, 80, 84, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:5px; top:1px; width:764px; height:214px; ">
- <col ref="prcpdd" visibility="hidden"/>
- <col ref="execprcpuniqno" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <col ref="testcd"/>
- <col ref="testnm"/>
- <col ref="outtestrsltcnts"/>
- <col ref="testrsltcnts" type="input"/>
- <col ref="assorsltcnts" type="input"/>
- <col ref="rsltunit"/>
- <col disabled="true" ref="rsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
- <col ref="judgcd" visibility="hidden"/>
- <col ref="judgrsltcnts" visibility="visible"/>
- <col ref="judgmark" visibility="hidden"/>
- <col ref="minval"/>
- <col ref="maxval"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (event.keyCode == 13 ){
- grp_asso.visible = false;
- if(grd_assorsltlst.rows != 1){
- for(var i=grd_assorsltlst.rows; i>=grd_assorsltlst.fixedRows; i--){
- grd_assorsltlst.deleteRow(i);
- }
- }
-
- if (grd_rsltlst.col == window.parent.javascript.col_rslt ) {
- //선택형검사결과의 결과컬럼
- if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
- var cdata = fdataValue(vtestcd,vsubcd);
- if (cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata; //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts"));
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- }
- }
-
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){
- var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
- var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
- var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
-
- if(maxval < testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
- } else
- if(minval > testrsltcnts){
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
- } else {
- grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
- }
- }
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("testrsltcnts"));
- window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("testrsltcnts"));
- }
- else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
- //선택형검사결과의 공단결과
- var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
- var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
- var cdata = fdataValueAsso(vtestcd,vsubcd);
- if(cdata!=null){
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcd");
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcnts");
- //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
- }
- }
- //window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
- /*검사결과 자동계산*/
- window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("assorsltcnts"));
- //window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("assorsltcnts"));
- }
- grd_rsltlst.row = grd_rsltlst.row +1;
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if(getUserInfo("dutplceinstcd") == "011"){
- if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O" && grd_rsltlst.col == grd_rsltlst.colRef("assorsltcnts")){
- var testcd = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testcd"));
-
- model.removeNodeset("/root/main/tempinfo/assorsltlst/itemasso");
- grd_assorsltlst.rebuild();
-
- var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
- for (var i=0; i<=nodeCount;i++){
- if (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+ i +"]/testcd") == testcd){
- grd_assorsltlst.addRow();
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltcd");
- grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
- }
- }
- grp_asso.visible = true;
- model.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_small" class="icon_top" style="left:5px; top:1px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(false);
- ]]>
- </script>
- </button>
- <button id="btn_large" class="icon_bottom" style="left:5px; top:1px; width:26px; height:19px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSetRsltSwtSize(true);
- ]]>
- </script>
- </button>
- <group id="grp_asso" visibility="hidden" style="left:80px; top:55px; width:275px; height:245px; ">
- <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
- <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 185" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:265px; height:215px; ">
- <col ref="rsltcd"/>
- <col ref="rsltnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //그리드의 셀 이외의 곳을 클릭하면 종료한다.
- if(!eval(grd_assorsltlst.iscell(event.target))) return false;
- // 그리드의 헤더부분을 클릭하면 종료한다.
- if(eval(grd_assorsltlst.row) < eval(grd_assorsltlst.fixedRows)) return false;
-
- var idx = grd_assorsltlst.row;
- if( idx < 1) return ;
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltnm" );
- grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltcd" );
- grd_rsltlst.rowStatus(grd_rsltlst.row) = 2;
-
- var nextRow = grd_rsltlst.row + 1
- if(grd_rsltlst.colType(grd_rsltlst.col) == "input" && nextRow < grd_rsltlst.rows) {
- grd_rsltlst.row = nextRow;
- grd_rsltlst.editCell();
- }
-
- if(grd_rsltlst.valueMatrix(nextRow, grd_rsltlst.colRef("rsltflag")) != "O"){
- grp_asso.visible = false;
- }else{
- grp_asso.visible = true;
- }
- ]]>
- </script>
- </datagrid>
- <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:270px; y2:20px; "/>
- <button id="btn_assoclose" class="icon_plus" style="left:255px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_asso.visible = false;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|